tree-wide: Remove unused variables detected by CLang
authorColin Walters <walters@verbum.org>
Tue, 25 Oct 2016 17:06:36 +0000 (13:06 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 27 Oct 2016 17:02:01 +0000 (17:02 +0000)
commitb77edf24a3afb7a26b40a8adfd81e88ce8d42182
tree9e22231431abd091c8cba630760841300d38d539
parent82a4f56593207b2f8a5e6620e64d9c3fa65fbfcf
tree-wide: Remove unused variables detected by CLang

CLang finds these, whereas GCC treats having
`__attribute__((cleanup))` as a use.

This obsoletes https://github.com/ostreedev/ostree/pull/411

Closes: #548
Approved by: jlebon
24 files changed:
src/libostree/ostree-bootloader-grub2.c
src/libostree/ostree-fetcher.c
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-libarchive.c
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo-static-delta-compilation.c
src/libostree/ostree-repo-static-delta-core.c
src/libostree/ostree-repo-static-delta-processing.c
src/libostree/ostree-repo.c
src/libostree/ostree-sysroot-deploy.c
src/libostree/ostree-sysroot-upgrader.c
src/libostree/ostree-sysroot.c
src/libotutil/ot-gpg-utils.c
src/ostree/ot-admin-builtin-deploy.c
src/ostree/ot-admin-builtin-set-origin.c
src/ostree/ot-admin-builtin-switch.c
src/ostree/ot-admin-builtin-undeploy.c
src/ostree/ot-admin-builtin-unlock.c
src/ostree/ot-admin-builtin-upgrade.c
src/ostree/ot-admin-instutil-builtin-grub2-generate.c
src/ostree/ot-builtin-pull-local.c
src/ostree/ot-builtin-static-delta.c
src/ostree/ot-remote-builtin-add.c
tests/test-mutable-tree.c